package com.ysd.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.entity.Books;
import com.ysd.mapper.CategoryBooksMapper;
import com.ysd.service.CategoryBooksService;


@Service
public class CategoryBooksServiceImpl implements CategoryBooksService {
	
	@Autowired
	private CategoryBooksMapper cbMapper;

	@Override
	public List<Books> getCategory(Books categoryId) {
		// TODO Auto-generated method stub
		return cbMapper.getCategory(categoryId);
	}

}
